package com.demo2.todo.service;

import com.demo2.todo.model.dto.ShareResponse;
import com.demo2.todo.model.dto.TodoResponse;
import com.demo2.todo.model.entity.User;
import org.springframework.stereotype.Service;

/**
 * @author evi
 */
@Service
public interface ShareService {
    ShareResponse createShare(Long todoId, User user);
    TodoResponse getSharedTodoByCode(String code);
}